/**
 * @class tuan.model.OrderModel
 * @extends extendsClass
 * Description
 */
Ext.define('tuan.model.OrderModel', {
    extend: 'Ext.data.Model',
    fields : [
    	'id',
    	"account_id",
    	"customer_name",
    	"customer_phone",
    	"billing_address",
    	"address",
    	'order_date',
    	"note",
        "status",
    	"deadline",
    	"ngay_giao_hang",
    	"hinh_thuc_thanh_toan",
    	"tinhid",
    	"hinh_thuc_van_chuyen",
        "ten_nguoi_lap_hoa_don",
        "ma_nguoi_nhap",
        //relationship
        "tinh_thanh",
        "ten_khach_hang",
        'total',
        'ten_nguoi_lap_hoa_don',
        'ma_nguoi_nhap',
        'ten_nguoi_nhan',
        'so_phone_nguoi_nhan'
    ],
    idProperty : 'id'
});